<h1>Listing commands</h1>

<table>
  <tr>
  </tr>
  
<% for command in @commands %>
  <tr>
    <td><%= link_to 'Show', command_path(command) %></td>
    <td><%= link_to 'Edit', edit_command_path(command) %></td>
    <td><%= link_to 'Destroy', command_path(command), :confirm => 'Are you sure?', :method => :delete %></td>
  </tr>
<% end %>
</table>

<br />

<%= link_to 'New command', new_command_path %>